﻿@using Whoever.Framework.Utils;

@helper Update()
{
   <button type="button" class="btn btn-default btn-sm align-right" title="@{Localized.Action("Update");}" data-bind="click: viewModel.SelectItem.bind(viewModel.SelectedItem(),'Update',viewModel.SelectedItem())"><span class="glyphicon glyphicon-pencil"></span></button>
}

@helper Delete()
{
    <button type="button" class="btn btn-danger btn-sm align-right" title="@{Localized.Action("Delete");}" data-bind="click: viewModel.SelectItem.bind(viewModel.SelectedItem(),'Delete',viewModel.SelectedItem())"><span class="glyphicon glyphicon-trash"></span></button>
}
